Combat SPAM with .htaccess and more

Modifying .htaccess to Prevent WordPress Spam Comments .htaccess can help tighten wordpress security. Short lines of codes can really help to reduce spam comments. Add the code below to your root .htaccess to deny bots with no referrer. # Protect from spam bots <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_METHOD} POST RewriteCond %{REQUEST_URI} .wp-comments-post\.php* RewriteCond %{HTTP_REFERER} … Continue reading Combat SPAM with .htaccess and more